package com.vca.common.model.exhibition;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 课程排课表
 * </p>
 *
 * @author chenBing
 * @since 2022-11-03
 */
@Data
@TableName("vca_exhibition_scheduling")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="VcaExhibitionScheduling对象", description="课程排课表")
public class ExhibitionScheduling implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "展览排期主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "展览id")
    private Long exhibitionId;

    @ApiModelProperty(value = "展览日期")
    private String schedulingDate;

    @ApiModelProperty(value = "展览当天开始时间")
    private String schedulingStartTime;

    @ApiModelProperty(value = "展览当天结束时间")
    private String schedulingEndTime;

    @ApiModelProperty(value = "限量")
    private Integer quota;

    @ApiModelProperty(value = "展览排期价格")
    private BigDecimal price;

    @ApiModelProperty(value = "当前讲座所剩席位")
    @TableField(exist = false)
    private Integer schedulingSeatCount;

    @ApiModelProperty(value = "预约人数")
    private Integer numberOfAppointments;

    @ApiModelProperty(value = "参与人数")
    private Integer numberOfParticipants;

    @ApiModelProperty(value = "预约状态  0=关闭 1=开启")
    private Integer status;

//    @ApiModelProperty(value = "展览状态 0=已结束 1=未开始 2=进行中")
//    private Integer schedulingStatus;

    @ApiModelProperty("是否取消 0=正常 1取消")
    private Integer isCancel;

    @ApiModelProperty("取消原因")
    private String cancellationReasons;

    @ApiModelProperty(value = "是否删除")
    private Integer isDeleted;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;


}
